package com.cctc.security.services;

import java.util.List;

import com.cctc.security.domain.Authoritie;

public interface AuthoritieService<T extends Authoritie> {
	
	void addAuthoritie(T t);

	void delAuthoritie(T t);

	void updateAuthoritie(T t);

	Authoritie findAuthoritieById(String id);
	
	List<?> getAllAuthoritieNameByUserName(String userName);
	
	List<String> getAllAuthoritieName();

}
